<div style="background-color: #fcfcfc">
    <div id="div_form">
        <form style="background-color: #fcfcfc" enctype="multipart/form-data" onsubmit="ocultarForm();" method="post" name="form" id="form" action="<?php echo $postUrl; ?>?nexturl=<?php echo "http://preuvideo.localhost".url_for('video/upload'); ?>">
            <input style="background-color: #fcfcfc"  name="token" type="hidden" value="<?php echo $tokenValue ?>"/>
            <input style="background-color: #fcfcfc"  type="file" name="file">

            <input class="botonSeleccionarTema" style="top: 5px; height:35px;" name="submit" type="submit" value="Subir Video">
        </form>
    <!--
        <div id="output" style="border:1px solid #DDDDDD; height: 300px; width: 700px;color: white; background: black; font-size: 8px;">
            postUrl: <?php echo $postUrl; ?>
            <br>
            tokenValue: <?php echo $tokenValue; ?>
            <br>
            resto: <?php echo $postUrl; ?>?nexturl=<?php echo "http://preuvideo.localhost".url_for('video/upload'); ?>
        </div>
    -->
    </div>
    <div id="div_img" style="display: none; padding-left:50px; background-color: #fcfcfc">
        <img src='/images/fb_loader.gif' alt="" />
    </div>
</div>

<script type="text/javascript">

    function ocultarForm(){
        //alert("Si");
        $("#div_form").hide();
        $("#div_img").show();
        return true;
    }
</script>